package com.meng.thrift.client.thrift.util;

/**
 * thrift ip port
 *
 * @author MENG
 * @version 2017/11/20
 * @see
 */
public enum ThriftIpPortEnum
{

    MENGLOCAL_IP_PORT_8191("127.0.0.1",8192),//local

    ;

    ThriftIpPortEnum(String ip,int port)
    {
        this.ip = ip;

        this.port = port;
    }

    private String ip;

    private int port;

    public String getIp()
    {
        return ip;
    }

    public void setIp(String ip)
    {
        this.ip = ip;
    }

    public int getPort()
    {
        return port;
    }

    public void setPort(int port)
    {
        this.port = port;
    }
}
